
package com.e885.util.date;

import java.text.SimpleDateFormat;

/**
 * 定義西元年的 format style, 從 2001 的值開始定義<br>
 * <br>
 * Copyright: Copyright (c) 2001-2008<br>
 * Company: E885 Group
 * 
 * @author Eric.Kao(gau168.gau@msa.hinet.net)
 * @version 1.0
 */

public class CenturyFormatStyle
{
	public static String PREFIX_NAME = "西元";
	
	/**
	 * 西元的 format styel 的起始設定為 2001;
	 */
	public static int CENTURY_FORMAT_STYLE_START = 2000;

	/**
	 * 格式為 "20070416"
	 */
	public static int HALF_FORMAT_STYLE = 2001;

	public static SimpleDateFormat HALF_FORMAT = new SimpleDateFormat( "yyyyMMdd" );
	
	/**
	 * 格式為 "20070416171224"
	 */
	public static int FULL_FORMAT_STYLE = 2002;

	public static SimpleDateFormat FULL_FORMAT = new SimpleDateFormat( "yyyyMMddHHmmss" );

	/**
	 * 格式為 "2007/04/16"
	 */
	public static int SLASH_HALF_FORMAT_STYLE = 2101;

	public static SimpleDateFormat SLASH_HALF_FORMAT = new SimpleDateFormat( "yyyy/MM/dd" );

	/**
	 * 格式為 "2007/04/16 15:22:11"
	 */
	public static int SLASH_FULL_FORMAT_STYLE = 2102;

	public static SimpleDateFormat SLASH_FULL_FORMAT = new SimpleDateFormat( "yyyy/MM/dd HH:mm:ss" );	
}
